package com.jp.kefu.web.message;


import com.jp.kefu.web.message.event.Event;

/**
 * Created by Administrator on 2017/7/25.
 */
public class MergedMessage extends AbstractMessage {

    //消息id，64位整型
    private Long MsgId;
    //文本消息内容
    private String Content;

    //-------链接消息-----
    //消息标题
    private String Title;

    //消息描述
    private String Description;

    //消息链接
    private String Url;

    //-------位置消息-----
    //地理位置维度
    private String Location_X;

    //地理位置经度
    private String Location_Y;

    //地图缩放大小
    private Integer Scale;

    //地理位置信息
    private String Label;

    //媒体id，可以调用多媒体文件下载接口拉取数据。
    private String MediaId;


    //-------图片消息-----
    //图片链接（由系统生成）
    private String PicUrl;

    //语音格式，如amr，speex等
    private String Format;

    //-------语音消息-----

    //语音识别结果，UTF8编码
    //开通语音识别后，用户每次发送语音给公众号时，微信会在推送的语音消息XML数据包中，增加一个Recongnition字段
    private String Recognition;

    //-------视频消息-----
    //视频消息缩略图的媒体id，可以调用多媒体文件下载接口拉取数据。
    private String ThumbMediaId;


    //事件类型
    private com.jp.kefu.web.message.event.Event.EventType Event;
    //-------菜单点击事件-----
    private String EventKey;


    //-------上报地理位置事件-----
    //地理位置纬度
    private String Latitude;

    //地理位置经度
    private String Longitude;

    //地理位置精度
    private String Precision;

    //-------扫码事件-----
    //二维码的ticket，可用来换取二维码图片
    private String Ticket;


    private String URL;
    public String getContent() {
	   return Content;
    }

    public void setContent(String content) {
	   Content = content;
    }

    public String getMediaId() {
	   return MediaId;
    }

    public void setMediaId(String mediaId) {
	   MediaId = mediaId;
    }

    public String getPicUrl() {
	   return PicUrl;
    }

    public void setPicUrl(String picUrl) {
	   PicUrl = picUrl;
    }

    public String getFormat() {
	   return Format;
    }

    public void setFormat(String format) {
	   Format = format;
    }

    public String getThumbMediaId() {
	   return ThumbMediaId;
    }

    public void setThumbMediaId(String thumbMediaId) {
	   ThumbMediaId = thumbMediaId;
    }

    public String getTitle() {
        return Title;
    }

    public MergedMessage setTitle(String title) {
        Title = title;
        return this;
    }

    public String getDescription() {
        return Description;
    }

    public MergedMessage setDescription(String description) {
        Description = description;
        return this;
    }

    public String getUrl() {
        return Url;
    }

    public MergedMessage setUrl(String url) {
        Url = url;
        return this;
    }

    public String getLocation_X() {
        return Location_X;
    }

    public MergedMessage setLocation_X(String location_X) {
        Location_X = location_X;
        return this;
    }

    public String getLocation_Y() {
        return Location_Y;
    }

    public MergedMessage setLocation_Y(String location_Y) {
        Location_Y = location_Y;
        return this;
    }

    public Integer getScale() {
        return Scale;
    }

    public MergedMessage setScale(Integer scale) {
        Scale = scale;
        return this;
    }

    public String getLabel() {
        return Label;
    }

    public MergedMessage setLabel(String label) {
        Label = label;
        return this;
    }

    public String getRecognition() {
        return Recognition;
    }

    public MergedMessage setRecognition(String recognition) {
        Recognition = recognition;
        return this;
    }

    public Long getMsgId() {
        return MsgId;
    }

    public MergedMessage setMsgId(Long msgId) {
        MsgId = msgId;
        return this;
    }

    public com.jp.kefu.web.message.event.Event.EventType getEvent() {
        return Event;
    }

    public MergedMessage setEvent(com.jp.kefu.web.message.event.Event.EventType event) {
        Event = event;
        return this;
    }

    public String getEventKey() {
        return EventKey;
    }

    public MergedMessage setEventKey(String eventKey) {
        EventKey = eventKey;
        return this;
    }

    public String getLatitude() {
        return Latitude;
    }

    public MergedMessage setLatitude(String latitude) {
        Latitude = latitude;
        return this;
    }

    public String getLongitude() {
        return Longitude;
    }

    public MergedMessage setLongitude(String longitude) {
        Longitude = longitude;
        return this;
    }

    public String getPrecision() {
        return Precision;
    }

    public MergedMessage setPrecision(String precision) {
        Precision = precision;
        return this;
    }

    public String getTicket() {
        return Ticket;
    }

    public MergedMessage setTicket(String ticket) {
        Ticket = ticket;
        return this;
    }

    public String getURL() {
        return URL;
    }

    public MergedMessage setURL(String URL) {
        this.URL = URL;
        return this;
    }
}
